package cn.DesignModel.strategy;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class StrategyFactory {
    private IncreaseFansStrategy strategy ;

    public StrategyFactory(IncreaseFansStrategy strategy) {
        this.strategy = strategy;
    }

    // 具体执行哪个策略，就选哪个
    public void exec() {
        strategy.action();
    }


}
